]> dgit.raspbian.org Git - gnome-shell.git/commit
shell/app: Warn instead of crashing if disposed before startup notification
authorDaniel van Vugt <daniel.van.vugt@canonical.com>
Thu, 29 Aug 2024 07:19:14 +0000 (15:19 +0800)
committerSimon McVittie <smcv@debian.org>
Thu, 17 Sep 2026 13:33:46 +0000 (14:33 +0100)
commit019f7c959e87eeba05a3285dc349d35e2f7d8a15
tree75af1b58c0f6f7dc9efc65715bd6af32b81c5695
parentf9a592c79d77171d72064ebbab4a8faa2a85c10f
shell/app: Warn instead of crashing if disposed before startup notification

This is currently easy to reproduce by launching and immediately closing
Chrome, then closing the shell. But automated crash reports show it can
also happen while using the shell, during a garbage collection run.

It's currently the top gnome-shell crasher in Ubuntu, and mostly with
Chromium/Electron apps. But regardless of the offender, we shouldn't
ever trust application behaviour to keep the shell alive.

Bug: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7045
Bug-Ubuntu: https://bugs.launchpad.net/bugs/2037055
Forwarded: https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3457

Gbp-Pq: Name shell-app-Warn-instead-of-crashing-if-disposed-before-sta.patch
src/shell-app.c